package com.diagrammer.render.factory
{
	import com.diagrammer.render.LineRender;
	import com.diagrammer.render.NodeRender;
	import com.diagrammer.vo.LineVO;
	import com.diagrammer.vo.NodeVO;
	
	/**
	 * 默认Render对象创建工厂类
	 * 
	 * @author Dwei <b>2012-02-13</b>
	 * 
	 */	
	public class RenderFactory implements IRenderFactory
	{
		public function RenderFactory()
		{
		}
		
		/**
		 * @inheritDoc
		 */		
		public function getNodeRender(value:NodeVO):NodeRender
		{
			return new NodeRender();
		}
		
		/**
		 * @inheritDoc
		 */		
		public function getLineRender(value:LineVO):LineRender
		{
			return new LineRender();
		}
	}
}